﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ChangePassWord
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
    <script src="/Scripts/vgo_01.js"></script>
    <link rel="Stylesheet" href="/Content/Style/layoutAll.css" />
    <style type="text/css">
        .khung
        {
            width: 400px;
            height: 280px;
            border: 1px solid #CCCCCC;
            margin: 0 auto;
            margin-top:20px;
        }
        .khungtrong
        {
            margin-top: 20px;
            height: 97px;
            width: 330px;
            margin-left: 15px;
        }
        td
        {
            height: 40px;
        }
    </style>
     <form method="post" action="/User/ChangePassWord">
        <div class="khung">
        <div style="background-color:#2B65BA; color:White; font-weight:bold; text-align:center; height:30px; padding-top:5px">ĐỔI MẬT KHẨU</div>
                <table>
                    <tr>
                        <td>
                            Tên đăng nhập:
                        </td>
                        <td>
                            <%: ViewData["UserName"]%>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Mật khẩu cũ:
                        </td>
                        <td>
                            <input type="password" name="pass" id="pass" style="width: 200px; height: 28px" onkeyup="check()" /> &nbsp;<img src="" id="img_pass1" class="img_alert"/><span id="passErr"></span>
                            </td>
                           
                    </tr>
                    <tr>
                        <td>
                            Mật khẩu mới:
                        </td>
                        <td>
                            <input type="password" name="newpass" id="newpass" style="width: 200px; height: 28px" onkeyup="check()" />  &nbsp;<img src="" id="img_newpass" class="img_alert"/><span id="newpassErr"></span>
                        </td>
                
                    </tr>
                     <tr>
                        <td>
                           Nhập lại mật khẩu:
                        </td>
                        <td>
                            <input type="password" name="newpass" id="cpass" style="width: 200px; height: 28px" onkeyup="password()" />&nbsp;<img src="" id="img_cpass" class="img_alert"/><span id="cpassErr"></span>
                        </td>
              
                    </tr>
                    <tr>
                    <td colspan="2">
                    <span style="color: Red">
                        <% if (ViewData["Error"] != null)
                           {%>
                        <%: ViewData["Error"].ToString()%>
                        <%} %>
                    </span>
                    </td>
                    </tr>
                </table>
                <div style="margin-top:20px">
                    <input type="submit" value="Đổi mật khẩu" style="width: 100px; height: 35px; margin-left: 130px" /></div>
            </div>
  
        </form>

</asp:Content>
